﻿<%@ Page Language="C#" MasterPageFile="~/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="MyAlbum.aspx.cs" Inherits="Pages_MyAlbum" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>Imagevn upload and printing pro</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="titleClient">
<h1 style="width:200px; float:left">My Album</h1><div style="width:80px; float:right; margin-right:40px"><a href="../Pages/Cart.aspx"><img src="../Images/buttonViewCart.png" height="32" width="113" /></a></div>
<div class="clear"></div>
</div>
<div class="contentClient">
    <div id="MainContent">
        <div style="text-align:center; padding:10px; margin:0px auto; width:800px">
    <asp:DataList ID="DataList1" runat="server" RepeatColumns="5">
        <ItemTemplate>
            <div style="width:170px; height:170px; margin:5px">
                <div style="font-weight:bold; color:Gray"><%# Eval("I_Name")%></div>
                <div><img src='../<%# Eval("I_URL") %>' width="120px" height="120px"/></div>
                <div>
                <asp:Button ID="btnAdd" runat="server" Text="" CommandArgument='<%# Eval("I_ID")%>' CssClass="addCart" OnClick="btnAdd_Click"/>
                <asp:Button ID="btnDelete" runat="server" Text="" CommandArgument='<%# Eval("I_ID")%>'  CssClass="buttonDelete" OnClick="btnDelete_Click" OnClientClick="return confirm('Are you sure?');"/>
            </div>
        </ItemTemplate>
    </asp:DataList>
    </div>
    </div>
    </div>
</asp:Content>

